import {get,post} from './http'
import envCfg from '@assets/js/env.js'
import envCfg2 from '@assets/js/env2.js'
// 接口管理
export const getForm2 = obj => get('/api/form_v?_form='+envCfg+'', obj);
export const getForm = obj => get('/api/form_v?_form='+envCfg2+'', obj);
export const getField = obj => get('/api/field?', obj);
export const getDetail = obj => get('/api/detail?', obj);
export const postWork = obj => get('/api/processWorkFlow?', obj);
// 上传文件
export const uploadFile = obj =>post('/api/uploadFile?',obj)
export const openFile = obj =>get('/api/base64File?',obj)

